package org.jeecg.modules.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.entity.SysUserPosition;

import java.util.List;


/**
 * 用户职务服务
 * @author 3hmzz
 */
public interface ISysUserPositionService extends IService<SysUserPosition> {

    List<SysUserPosition> findList(SysUserPosition sysUserPosition);

    void deleteByUserIdAndPostStatus(String userId,Integer status);

    IPage<SysUserPosition> findPage(SysUserPosition sysPosition);
}
